#pragma once
#include "XTask.h"

class XFtpSessionFactory
{
public:
    static XFtpSessionFactory *get() {
        static XFtpSessionFactory factory;
        return &factory;
    }
    virtual ~XFtpSessionFactory();
    XTask *createTask(evutil_socket_t fd);
private:
    XFtpSessionFactory();
};

